package com.nari.ncps.screen.dto.excelimport.ne;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 新能源设备状态监测表
 * </p>
 *
 * @author xuesong
 * @since 2025-08-23
 */
@Getter
@Setter
@TableName("qt_dp_ne_opermon_eqp_state")
@Schema(name = "NeOpermonEqpState对象", description = "新能源设备状态监测表")
public class NeOpermonEqpState implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "年份")
    @TableField("year")
    private Integer year;

    @Schema(description = "月份")
    @TableField("month")
    private Integer month;

    @Schema(description = "日")
    @TableField("day")
    private Integer day;

    @Schema(description = "日期，格式为yyyy-MM-dd")
    @TableField("date")
    private Date date;

    @Schema(description = "风电台数(台)")
    @TableField("wind_turbine_total")
    private Integer windTurbineTotal;

    @Schema(description = "风机正常运行数(台)")
    @TableField("wind_turbine_normal")
    private Integer windTurbineNormal;

    @Schema(description = "风机可用率(%)")
    @TableField("wind_availability")
    private BigDecimal windAvailability;

    @Schema(description = "光伏台数(台)")
    @TableField("pv_station_total")
    private Integer pvStationTotal;

    @Schema(description = "逆变器正常运行数(台)")
    @TableField("inverter_normal")
    private Integer inverterNormal;

    @Schema(description = "光伏设备可用率(%)")
    @TableField("pv_availability")
    private BigDecimal pvAvailability;

    @Schema(description = "区域：0-全国，1-蒙东，2-蒙西，3-其他")
    @TableField("region")
    private Byte region;

    @Schema(description = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @Schema(description = "创建人")
    @TableField("creator")
    private String creator;

    @Schema(description = "更新时间")
    @TableField("update_time")
    private Date updateTime;

    @Schema(description = "更新人")
    @TableField("updater")
    private String updater;
}
